#define _CRT_SECURE_NO_WARNINGS 1
#include"stack.h"
#include"queue.h"
using namespace std;
int main()
{
	my_stack::stack<int> st;
	st.push(1);
	st.push(2);
	st.push(3);
	while (!st.empty())
	{
		cout << st.top() << " ";
		st.pop();
	}
	cout << endl;


	my_queue::queue<int> q;
	q.push(9);
	q.push(10);
	q.push(11);
	while (!q.empty())
	{
		cout << q.front() << " ";
		q.pop();
	}
	cout << endl;
	return 0;
}